<div id="searchResults">
   <br/>
   {if count($proposals) eq 0}
   	<h2>No Results Found</h2>
   {else}
      <div id="numResults">
   	  <h2>Returned {$count} results</h2>
   	</div>
      <div id="resultContainer">
      	{section name = i loop = $proposals}	
      	   <a class="parkLinks" href = "proposal.php?id={$proposals[i].id}">
               <div id="resultContent">  
            		<div id="resultName">
                     <h2>Proposal no: {$proposals[i].id}</h2> 
                     <p>Created by {$proposals[i].email} </p> 
                     <p>Address: {$proposals[i].address}, {$proposals[i].suburb} </p>
   
            		   {if $proposals[i].forwarded eq 1}
                        <p class="forwarded">Forwarded</p>
            			{/if}
                  </div>
         		</div>
            </a>
      	{/section}
   	</div>
   {/if}
</div>